<template>
  <el-card>
    <div class="filter-container">
      <div class="filter-header">
        <div class="filter-header__body"></div>
        <div class="filter-header__opt">
          <slot name="header-opt"></slot>
        </div>
      </div>
      <div class="filter-body">
        <el-form size="mini" inline @submit.native.prevent @submit="onSubmit">
          <slot name="body"></slot>
          <el-form-item>
            <el-button size="small" type="primary" icon="el-icon-search" @click="onSubmit"
              >查询
            </el-button>
          </el-form-item>
        </el-form>
      </div>
    </div>
  </el-card>
</template>

<script>
import index from './index.js'

export default index
</script>

<style scoped lang="less">
@import 'index';
</style>
